added before_filter for authenticated users
Merge pull request #6 from iamsok/fixing_bugs

added before_filter for authenticated users