Created user class and repository