Change order of checks, so that authorisation is always checked

Both daemon and user have to be logged in to send/receive info