added log in contols