[api2] Update accounts api handlers
Merge branch 'swpd-master'
[api2] A few improvments on account api
[api2] add api for account unregister