Fixing an issue signing users in by id