changed layout, login and edit