Fixed current_user error when not logged in.