altering layout for registration