Add error catch for protection against crash

try: execute database query
catch: any error and display the error message
Branch updates for what I'm working on

Change form login to show office manage home screen and menu. Fix
combobox display items to proper user types.
Merge pull request #2 from doc-oc/Alan

Alan