logout fix, added form authentication as well