profile updated

Implemented shared preferences
profile saving