adding composer config
adding save method to user class