Fixes User Registration bug