Added ability to login by uuid. Prepared for #101