added several function to profile tab