Refactored code to assign foreign key to users and redirect after deleting post to dashboard, profile or index depending if they are admin, registered users or unregistered  users.
Fixed typo
Corrected typos
Assigned is_admin=2 and updated code to automatically sign in users immediately after sign up
Added admin and assigned is_admin to 1
Added logout link
Added logout link
Merge pull request #35 from LAFcaptstone/ceciliam

Ceciliam
Merge branch 'master' into steves