Fix for 500 with creating a user