login form and beginnings of databse