added stateshelper and updated profile view