Implemented getting of paired users
Implemented auth_user function
Improved error handling