Closes #35
Removed logout from refresh