removed devise, generated new user model, added some api methods