login page and updated db