Add authentication and machine actor
Fix unit tests
Add unit tests for user actor
Unit tests for machine actor