sessions and user controller using the correct layout