adding migration for user permission table
adding model for user -> permission relationship
adding password add and check methods to user model, docblock for getResetPasswordCode