Fixed register_device calls to mongodb
Added update_device function.
Added user settings, add_sms now works with mongodb