change User::changeStatus to take input from parameters