revise comments in login and sell js files for clarity