fixed the bind destroy event to the collection render function in post index
cleanups
added clearance for user authentication, and added the support view swapping to allow just the views to switch on the main page.
Merge pull request #2 from amiramke/main

Main