adjusting logged in check method for other languages