Added function to save info

Function should work for any type of info that the user wants to save to
their profile.