added some routes, models, login feature