Fix crawling function and logout function
Yes it is