added helper to devise
added dynamic validations