adding register user method - WIP