Fixed bug with enabling user session on user creation