Created user_auth_model. Updated login script to use user_auth_model.

The user_auth_model does the authentication for users. It uses the
data_access_object model which handles the database access logic.