Tests for loged in user