big changes

added login form;
added tables to db;
added methods to login;