updated config for local db, created navbar controller and view