change the position of the views
use sinatra-activerecord for  ports ActiveRecord for Sinatra
add model user
move post and user to individual file