SDK enhancements and added Login and Registration to example app