Delete unneeded query in checkAccess function in Message controller