adding more action for menu and adding register controller