layout, login and registration flows added