Added redirect to login page. New error: undefined local variable or method current_user.