Added code to allow us to redirect to a different page after the user is logged in.