made change to hopefully automatically reroute after login