removed unwanted methods from controller file.