PR for #52

PR for : #52, contains: simple database based login for site