register with and withou immediate login