redirect on logout changed
db updated