tying stuff together in the user class