Changed successful login to redirect to / instead of returning a view