change User.current to current_user