Bug fix for signing up