cleaning up login