Database backend and rudimentary login view

tadaaa! :-)