Added common sql parsing functions to abstract controller
Enabled user type for menu screen
Commiting latest changes