methods for get user methods for db. sign in command and create new invite commandd