ajax calls and devise gem for students work yet to done