updated specs login/register
fixed specs
fixed unit tests