Updated permission checks on home page.
-Added new function to home client controller
-Added loading of lodash before angular