updating basicController and view private/index.jsp