Completed and tested general user authentication.  Set some more defaults, cleaned up the code a little bit.