Added login form connected with database.