new login/register and some minor stuff