diff --git a/r4032login.module b/r4032login.module
index a4fc9ff..58d8cb2 100644
--- a/r4032login.module
+++ b/r4032login.module
@@ -134,11 +134,12 @@ function r4032login_redirect() {
     }
     $page_match = FALSE;
     $pages = variable_get('r4032login_match_noredirect_pages', '');
+    $pages .= "\n<front>";
     if ($pages) {
       // When on an access denied page, Drupal stores the original path in
       // $_GET['destination'] in drupal_deliver_html_page().
-      // Convert the Drupal path to lowercase.
       $path = drupal_strtolower(drupal_get_path_alias($_GET['destination']));
+      // Convert the Drupal path to lowercase.
       // Compare the lowercase internal and lowercase path alias (if any).
       $page_match = drupal_match_path($path, $pages);
       if ($path != $_GET['destination']) {
@@ -147,6 +148,7 @@ function r4032login_redirect() {
     }
     if ($page_match) {
       // Display the default login page.
+      drupal_get_messages($message_type);
       return drupal_get_form('user_login');
     }
     // Handle redirection to the login form.
