Add support for new server configure and user default storage

Add support for new server storage include register and update push token.