Refactored the model authentication functions.
The authentication functionality now resides in UserAuthenticator.java. Otherwise, the remaining functionality us unchanged and has been tested completely. Similar refactorizations with file storage and auditing will follow.