cleaning up login/register