go back to login after successful registration, solved TODO