Creates a basic logging in:
-Use has_secure_password to store an encrypted version of the password into the databse
-Controlls access to the administration functions through before_filters
-Set a hook to prevent deleting the last user