modify js
add setting for mobile request
add setting devise for mobile
modify routes for devise