Added redirect to login path when not authenticated