login and register nearly ready