Very first implementation of register function
changed current user tests, until they are functions are implemented