Ajax/User - Introducing constants for error messaging