log out goes to pyramid view
Rewrite logout
Loader gif loaded at the beginning