setting up login and register, although i'm going to disable register later.