reset login page when going to home page