snapshot bug fixed
fixed login/register issues