Adding redirect if user is logged in