Added devise user model and unit tests