Finished all controllers basic functions