fix active nav for login and register