Update User.cpp

finalised except for specific user functions like ADMIN, AUTHOR etc.. Just fixed a bug, when I logged out, the next user shared the previous one's variables