Layout files and CSS; errors with flash(); preliminary user management