fixed syntax errors in manager views; tidying up the UI for manager