Removed unused function in contact controller