Added user class and initial tests