Created the user class, fixed some glitches