Fixed a bug where a user's ID was not linked to session when signing up