Checks on username and email lengths based on db constraints