Added before_save to user model
Configuration for token_authenticable
Added protected_attributes gem'