Some minor modifications on device views
Add basic Device API for add samplings

- Introduce add_sampling method
- Fix authentication