add buttons for redirection,update gemfile and routes