updated register screen to log in as well