diff --git a/unl_theme/actions/login.php b/unl_theme/actions/login.php
index aa8937b67de52201513a3f6026692a41e1331dfc..3568021f8c90b593e40340ab8cb8016a7a3cab7c 100644
--- a/unl_theme/actions/login.php
+++ b/unl_theme/actions/login.php
@@ -50,7 +50,7 @@
             		datalist_set('first_admin_login', time());
             		
             		forward('pg/admin/plugins');
-            	} else	
+            	} else	{
             	/* here's the modifications we're making
             		forward("pg/dashboard/"); */
             	
@@ -59,6 +59,7 @@
             			forward('mod/profile/edit.php?firstlogin=yes');
             		}
             		forward("pg/profile/$username");
+            	}
             }
         } else {
         	$error_msg = elgg_echo('loginerror');