RFP change user

Added CRUD functionality for User Class
You should use newer 1.9 style hash syntax:

```ruby
where(conditions).where(["lower(username) = :value OR lower(email) = :value", { value: login.downcase }]).first
```