Added new functionality to create new users as well as tests