update code to contains devise
config db
update the compile assests options
update config for heroku
add devise