java code change for new layouts ,signup