implementation for user storage and logic validations. Also added the configuration for encode password