User model is updated and device with mongoid problem is solved
url model and controller as well as view files created