Authentication refactor. Added requests to requirements.txt. Added a val...

...idity check to the User object