Added the login auth filter.

Currently set on the is logged in resource for temporary testing.
Renamed some packages.