Add click function to account panel