Add logout
Fix all redirections