Fix previous and next button issue.
Fix messed up ui for login and forgot password popup.
Refactor user-management.js.