Improves routing, flashes, UsersController and fixes some issues