changes view in index and create student