created migration and models... and login form with a query