changes made due to change to the db model class and also added
redirection to list page