Added some javascript
Added devise