added tables and fixed signup and login