Created methods to store and get the ward list from the database