Change homepage and redirect on login.