Preparation 5.5.3 Change Pw

Moved remote modal and some javascript to logged_in part of page