Deleting unnecessary hand-created user models (switching to Devise)
Adding Devise
$ rails generate devise:install
$ rails g devise:views
$ rails generate devise User
$ rake db:migrate
Minor styling in sign up form
basic block for login in header
Adding forgotten devise initializer
Updates locales files with messages
devise gem with updated routes
Devise config
New action within Posts controller - list
Note that in routes, this new route is matched BEFORE "resources :posts" (first created -> highest priority). if it was after, posts/list would be recognised as # GET /posts/1 action.
Making the new list as front page, some styling of the output