diff --git a/bakery.module b/bakery.module
index 91786a5..ba83259 100644
--- a/bakery.module
+++ b/bakery.module
@@ -872,6 +872,10 @@ function bakery_login_return() {
       drupal_goto('', $query);
     }
   }
+  // If user is logged in and visiting this page redirect to <front>.
+  elseif (user_is_logged_in()) {
+    drupal_goto();
+  }
   drupal_access_denied();
 }
 
