fixing db issues
Finished sign in functionality