Added redirect if logged in