added log in for side view