fix user login $current_user not defined