finished reg and login