added db
updated login page with table