Make login redirect to homepage