removed models controllers and views for: user, sessions, password resets and user_mailer in mailers
added devise gem, and generated divese instead previous
generate user model using devise
generate devise views
added necessary columns for users
uncommented resources
added validation presence of user type
aligned registration and authorization block
now user type will saved
added user links (sign in and etc)
removed delete account button
added user type checkbox
added work_as_id column to users
added checking of user type and set link for current user type
removed url for uploaded images by users (cuz of bag), correct indentation and formatting
added validates_presence_of works atributes on create and update actions
added methods for create and update records
added edit and new works views
added checking for user type and current user (if work bellong to current user edit link showed)
if user is signed in and belongs to Laird class, added work link showed