properly reroutes user to homepage on login. removed gross javascript reroute that was occurring.