finished authentication

Finished authentication. Included slight modifications to user at
db level and in model, large modifications to auth controller, and
creation of a variety of helper methods in AuthHelper.