Removed unneccessary log command from basecontroller