Fix bugs current_user assigment