Add admin to user table

* Admin is a boolean in the user table
* You can use method admin? to check for admin
* To change the user in rails c, user.update(:admin true)
Admin page

* Created admin controller
* Created admin show page
Create Guest user to allow admin functionality

* Create Guest user
* Add admin? method to Guest user
* Override Monban's current_user in application controller
Merge pull request #3 from elijahkim/admin

Add admin to user table
Added admin page link
If user is not an admin, throws 401 error

* Modified the admin controller to render 401 error
deleted commented code in Admin Controller
used new hash syntax
Merge pull request #7 from elijahkim/EKerrors

If user is not an admin, throws 401 error
Add Posts

* Add posts migration and model
* Add posts controller and basic methods
* Add resources :posts to routes
Add rest of files from previous commit message
add homes controller, add show homepage, route configuration
edited homes view
Add views for posts

* Add create and edit pages
* Add form for posts
* Add post show pages
* Add create, edit, delete buttons to proper pages
* Add has_many posts to users
* Correct redirects
Correct order within posts model as suggested by Eli
Correct small code issues in html.erb files

* Switch classes to use dashes instead of underscores
* Add new lines to the files that did not have them
Add null: false to post title

* Title is required by validation so should be required in database
Add dependent: :destroy to posts in user model

* We do not want post orphans if a user closes their account
fix no newline