added token generator on user model
added create method to users controller