diff --git a/plugins/unl_theme/start.php b/plugins/unl_theme/start.php
index d4f84017d11657b2e8eef2cf7eb926a24d8fa482..a1b1b907497353b52f5c31e0f13b1e4eea27b9fd 100644
--- a/plugins/unl_theme/start.php
+++ b/plugins/unl_theme/start.php
@@ -1,8 +1,8 @@
 <?php
 
 /* Initialize the theme */
-function unl_theme_init(){
-	
+function unl_theme_init()
+{
 	//If user is signed into UNL SSO but not planet red and they visit planet red - try logging them in
 /*	if ($_COOKIE['unl_sso'] && !isloggedin() && get_input('action') != 'login') {	
 		$ts = time();
@@ -16,7 +16,8 @@ function unl_theme_init(){
 register_elgg_event_handler('init','system','unl_theme_init');
 
 
-function unl_profileupdate () {
+function unl_profileupdate ()
+{
 	/**
 	 * Enroll user in group for their selected college when possible.
 	 **/
@@ -44,23 +45,17 @@ function unl_profileupdate () {
 		$group_guid = $college_groups_guids[$college];
 		$group = get_entity($group_guid);
 		
-		if ($group->join($user))
-			{
+		if ($group->join($user)) {
 				system_message(elgg_echo("groups:joined"));
-
+				
 				// Remove any invite or join request flags
 				remove_entity_relationship($group->guid, 'invited', $user->guid);
 				remove_entity_relationship($user->guid, 'membership_request', $group->guid);
-
+				
 				// add to river
 				add_to_river('river/group/create','join',$user->guid,$group->guid);
 			}
 	}
-	
-    
 }
 
 register_elgg_event_handler('profileupdate','all','unl_profileupdate');
-
-register_action("login",false,$CONFIG->pluginspath. "unl_theme/actions/login.php"); 
-?>
\ No newline at end of file