fixing sessions redirect for bad username