Add user authorization methods

* Set protected! on admin page
Merge pull request #30 from bayendor/admin_login_auth

Add user authorization methods
fix a few last locally hosted image problems
Merge pull request #31 from bayendor/local-host-issues

fix a few last locally hosted image problems
Add simple DB select