Made a successful login redirect to the home page.