added login and home pages
added db file