Added function to hide profile menu tabs