Revert changes for login button and move to newworklist.js