add user authentication

added an authComponent to usersController, validation for password and beforeFilters to disallow unauthorised users to delete or make changes to the db while allowing the creation of a new user account to unauthorized users. Also added the login and logout actions.