add the login module
update the db and add the register module