added log in and log out feature test for users and relevant functionality