fixed session on register