styling user section and added updated onDispatch code to controllers