some migrations and minor in views and routes