implement user authentication
Merge pull request #9 from purple-martins-2013/user_authentication

implement user authentication on controller actions