changed routes to login and newuser on app.js files and fixed the images route to public