fixing up new to alter to log in, and removing js from iframe layout