fixed: undefined local variable or method 'current_user'