login form made and changes in database structure