Added logic and code for the controllers