fix no attribute 'redirect' issue
update .gitignore
update TODO; add user login status check