setup client build system using grunt
fix issues with user authentication