fixed log in log out with devise