Refactoring. Converted more error message to messages on not-logged-in. Generalized user-exists? to exists? to allow checking emails for uniqueness. Improved error handling for missing values on login page.
Added environ to manage db config