Adding User class and repective tests.