Checking if user is login for editing options