Hide login and register page