[Bug Fix] for issue 19

Fixing user authentication
Added `before_filter :authenticate_user!`