adding user model and crypto configuration

modifying crypto lib with getter/setter