remove unused code
force login